<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
        "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <title>添加图书</title>
    <link rel="stylesheet" type="text/css" href="{{ static('css/reset.css') }}">
    <link rel="stylesheet" type="text/css" href="{{ static('css/main.css') }}">
    <link rel="stylesheet" href="{{ static('css/bootstrap.min.css') }}">
    <script type="text/javascript" src="{{ static('js/vue-2.5.16.js') }}"></script>
    <script type="text/javascript" src="{{ static('js/axios-0.18.0.min.js') }}"></script>
    <script src="{{ static('js/jquery-1.12.4.min.js') }}"></script>
    <script type="text/javascript" src="{{ static('js/bootstrap.js') }}"></script>
</head>
<body>
<div id="app">
    <div class="header_con">
        <div class="header" v-cloak>
            <div class="welcome fl">信阳学院图书馆</div>
            <div class="fr">
                <div v-if="username" class="login_btn fl">
                    欢迎您，管理员：<em>[[ username ]]</em>
                    <span>|</span>
                    <a href="{{ url('users:logout') }}">退出</a>
                </div>
                <div v-else class="login_btn fl">
                    <a href="{{ url('users:login') }}">登录</a>
                    <span>|</span>
                    <a href="{{ url('users:register') }}">注册</a>
                </div>
                <div class="user_link fl">
                    <span>|</span>
                    <a href="{{ url('users:info') }}">我的</a>
                </div>
            </div>
        </div>
    </div>
    <div class="search_bar clearfix">
        <a href="{{ url('contents:index') }}" class="logo fl"><img src="{{ static('images/logoz.png') }}"></a>
        <div class="search_wrap fl">
            <form method="get" action="/book_info/" class="search_con">
                <input type="text" class="input_text fl" name="p" placeholder="搜索图书">
                <input type="submit" class="input_btn fr" name="" value="搜索">
            </form>
        </div>
    </div>
    <div class="main_con clearfix">

        <div class="left_menu_con clearfix">
            <h3>管理员</h3>
            <ul>
                <li><a class="active">· 添加图书信息</a></li>
            </ul>
        </div>
        <div class="right_content clearfix" v-cloak>
            <div class="site_top_con">
                <h1 class="common_title2">添加图书信息</h1>
            </div>
            <div class="site_con">
                <div class="content">
                    <div id="content" class="colM">
                        <div class="add_button">
                            <form method="post" @submit="on_submit">
                            <li>
                                <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;书名：</label>
                                <input type="text" name="name">
                            </li>
                            <li>
                                <label>图书编号：</label>
                                <input type="text" name="id">
                            </li>
                            <li>
                                <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ISBN：</label>
                                <input type="text" name="ISBN">
                            </li>
                            <li>
                                <label>图书种类：</label>
                                <input type="text" name="type">
                            </li>
                            <li>
                                <label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;作者：</label>
                                <input type="text" name="author">
                            </li>
                            <li>
                                <label>类型编号：</label>
                                <input type="text" name="type_num">
                            </li>
                            <li>
                                <label>&nbsp;&nbsp;&nbsp;出版社：</label>
                                <input type="text" name="pub_hou">
                            </li>
                            <li>
                                <label>出版日期：</label>
                                <input type="date" name="pub_date" value="2021-03-18"/>
                            </li>
                            <li>
                                <label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;版次：</label>
                                <input type="text" name="edition">
                            </li>
                            <li>
                                <label>书架编号：</label>
                                <input type="text" name="serial_num">
                            </li>
                            <li>
                                <button type="submit" class="btn btn-primary">添加</button>
                            </li>
                        </form>
                        </div>
                        <br class="clear">
                        <div id="footer"></div>
                    </div>
                </div>
                <div class="down_btn">
                    <a href="javascript:;" class="edit_icon"></a>
                </div>
            </div>
        </div>
    </div>
    <div class="footer">
        <div class="foot_link">
            <a href="#">求真</a>
            <span>|</span>
            <a href="#">创新</a>
            <span>|</span>
            <a href="#">勤学</a>
            <span>|</span>
            <a href="#">笃行</a>
        </div>
        <p>CopyRight © 2016 信阳学院图书馆 All Rights Reserved</p>
    </div>
    <script type="text/javascript">
        let addresses = "";
        let default_address_id = "";
    </script>
    <script type="text/javascript" src="{{ static('js/common.js') }}"></script>
    {#<script type="text/javascript" src="{{ static('js/book_list.js') }}"></script>#}
    <script type="text/javascript" src="{{ static('js/user_center_site.js') }}"></script>
</div>
</body>
</html>